package com.bdqn.dao;

import com.bdqn.pojo.*;
import org.apache.ibatis.annotations.Param;

import javax.swing.*;
import java.util.Date;
import java.util.List;

public interface UpRepositoryMapper {
    public int deleteSale(@Param("saleId")int saleId);
    public Object[]  getAllsale(@Param("sql")String sql,@Param("index")int index);
    public List<SalePojo> getSale(@Param("saleDate")String saleDate, @Param("newDate")String newDate, @Param("where")String where);
    public List<SpMangePojo> getName(@Param("bid")String bid);
    public List<String> getBrand();
    public List<PhoneKcPojo> getNo0List();
    public PhoneKcPojo isIDgetPhone(@Param("id")String id);
    public int updateNum(@Param("num")String num,@Param("id")String id);
    public int insertSale(/*@Param("data") Date data,*/ @Param("userid")String userid, @Param("phoneid")String phoneid, @Param("phonenum")String phonenum);
}
